/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.zaahir.assignment2.CRP.Conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.zaahir.assignment2.CRP.Impl.Circle;
import za.ac.cput.zaahir.assignment2.CRP.Impl.Triangle;

/**
 *
 * @author Nashief
 */
@Configurable
public class AppConf {
  
   
   @Bean
   public Circle c() 
   {
       return new Circle();
   }  
   @Bean
   public Triangle t()
   {
       return new Triangle();
   }
  
}
  
